import request from '@/api/request/index'
import type { GongYongDTO, ChanPinXiangQingDTO_1 } from './_interfaces.ts'

/** 根据产品Id合并SKU信息 */
export function productMergeSkuByProductId(data: GongYongDTO): Promise<string> {
  return request.post('/api/product/mergeSkuByProductId', data)
}

/** 修改产品状态为暂不开发 */
export function productProductReject(data: GongYongDTO): Promise<any> {
  return request.post('/api/product/productReject', data)
}

/** 产品详情查询 */
export function productQueryProductDetailId(data: { id?: string }): Promise<ChanPinXiangQingDTO_1> {
  return request.post('/api/product/queryProductDetail/${id}')
}
